package io.renren.modules.sys.service;

import io.renren.modules.sys.entity.SysBottomEntity;

import java.util.List;
import java.util.Map;

/**
 * 开奖号码记录表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2017-11-08 19:36:41
 */
public interface SysBottomService {
	
	SysBottomEntity queryObject(Long bottomId);
	
	List<SysBottomEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SysBottomEntity sysBottom);
	
	void update(SysBottomEntity sysBottom);
	
	void delete(Long bottomId);
	
	void deleteBatch(Long[] bottomIds);

	/**
	 * 获取当前期数
	 * @return
	 */
	SysBottomEntity queryCurrent();
}
